package com.dxy.df.modules.bean.put;

import com.dxy.df.core.model.BasicInput;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


/**
 * @author biz@dxy.cn
 * @date 2019-10-25 16:23:46
 */
@Setter
@Getter
@ApiModel
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class DfCommentPut extends BasicInput {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "文章id")
    private Integer articleId;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "创建时间" , hidden = true)
    private Date createTime = new Date();

    @ApiModelProperty(value = "创建人" ,hidden = true)
    private String createBy ;


}
